package com.benio.ycfdisplayer.displayer;

import android.view.View;

/**
 * An interface for creating a {@link Request}.
 * Created by zhangzhibin on 2016/11/2.
 */
public interface RequestBuilder {
    /**
     * 设置监听器
     *
     * @param displayListener
     * @return
     */
    RequestBuilder listener(DisplayListener displayListener);

    /**
     * 设置加载配置
     *
     * @param options
     * @return
     */
    RequestBuilder options(Options options);

    /**
     * 设置加载Target
     *
     * @param target
     * @return
     */
    Target into(Target target);

    /**
     * 设置加载View
     *
     * @param view
     * @return
     */
    Target into(View view);
}
